package com.ys.enume.finance;

public class TcwUserPointFrozenRunningEnum {
	
	public enum Type {
		TRANSFER_FROM_FROZEN("划拨单冻结", 1),
		TRANSFER_FROM_UNFROZEN("划拨单解冻", 2),
		PUNISH_FROZEN("奖罚单冻结", 3),
		PUNISH_UNFROZEN("奖罚单解冻", 4);
		public String name;
		public Integer value;

		private Type(String name, Integer value) {
			this.name = name;
			this.value = value;
		}

		public static String getName(int value) {
			for (Type e : Type.values()) {
				if (e.value == value) {
					return e.name;
				}
			}

			return "";
		}
	}
}
